package com.opta.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * 2 * @Author: GuanChong
 * 3 * @Date: 2020/10/12 9:37
 * 4 * @Desc: 任务的可产线体及UPH(每小时产出)
 */
@Data
public class Line implements Serializable {
    /**
     * 工作中心ID
     */
    public String lineId;
    /**
     * UPH  这个线体生产此modelInfo 的节拍
     */
    public Double uph;
    /**
     * 以前是否生产过
     */
    public Boolean produced;
    /**
     * 日期
     */
    public LocalDate date;
    /**
     * 班次
     */
    public String team;
    /**
     * 产能 可用小时数
     */
    public Integer capacity;

    @Override
    public String toString() {
        return "Line{" +
                "lineId='" + lineId + '\'' +
                ", uph=" + uph +
                ", produced=" + produced +
                ", date=" + date +
                ", team='" + team + '\'' +
                ", capacity=" + capacity +
                '}';
    }
}
